package com.zy.modules.sys.repo;

import com.zy.modules.sys.entity.SysConfigEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * <p>config</p>
 * Created by zhezhiyong@163.com on 2017/7/25.
 */
public interface ConfigRepository extends PagingAndSortingRepository<SysConfigEntity, Long>, JpaSpecificationExecutor<SysConfigEntity> {

    SysConfigEntity findByKey(String key);

}
